<?php

class PayForm extends CFormModel {

    public $WIDout_trade_no;
    public $WIDtotal_fee;
    public $paytype;
    public $orderid;
    public $note;
    public $coupons;

    public function rules() {
        return array(
            array('WIDout_trade_no,WIDtotal_fee,paytype,orderid,note', 'required'),
            array('coupons','safe')
        );
    }

}

?>